bitkeeper revision 1.1159.53.21 (41304f03AEY0D00K1DyuV8kwtvilfQ)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Sat, 28 Aug 2004 09:23:15 +0000 (09:23 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Sat, 28 Aug 2004 09:23:15 +0000 (09:23 +0000)
Always enable our console so that we get console output even
if the actual console is on the vga or other display.

linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c

index 8657a426c87c3f2c5cad86fb85fea9e9d8391f17..d8a28bf15343e1fddac5235fdcef6760b9ee8b0e 100644 (file)
@@ -158,6 +158,10 @@ void xen_console_init(void)
         if ( xc_mode == XC_DEFAULT )
             xc_mode = XC_SERIAL;
         kcons_info.write = kcons_write_dom0;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+       if ( xc_mode == XC_SERIAL )
+           kcons_info.flags |= CON_ENABLED;
+#endif
     }
     else
     {